import request from '@/utils/request'

// 新增工段长对员工评价
export function savePerformanceInfo(data) {
    return request({
      data,
      url: '/back/performanceInfo/savePerformanceInfo',
      method: 'post'
    })
}

// 获取工段长对员工评价
export function findPerformanceInfo(data) {
    return request({
      data,
      url: '/back/performanceInfo/findPerformanceInfo',
      method: 'post'
    })
}

// 修改工段长对员工评价
export function updPerformanceInfo(data) {
    return request({
      data,
      url: '/back/performanceInfo/updPerformanceInfo',
      method: 'post'
    })
}

// 新增车间主任对员工评价
export function saveDirectorScore(data) {
    return request({
      data,
      url: '/back/directorScore/saveDirectorScore',
      method: 'post'
    })
}

// 获取车间主任对员工评价
export function findDirectorScore(data) {
    return request({
      data,
      url: '/back/directorScore/findDirectorScore',
      method: 'post'
    })
}

// 修改车间主任对员工评价
export function updDirectorScore(data) {
    return request({
      data,
      url: '/back/directorScore/updDirectorScore',
      method: 'post'
    })
}